package com.xbongbong.paas.service;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.domain.entity.PaasFormDataEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.domain.entity.ext.ContractEntityExt;
import org.springframework.stereotype.Service;

/**
 * @author jyh
 * @version v1.0
 * @date 2020/12/24 13:21
 * @since v1.0
 */
@Service
public interface CouponService {


    void changeCouponStatus(PaasFormDataEntity newPaasFormDataEntity, Integer code) throws XbbException;

    void returnCoupon(ContractEntityExt contractEntityExt, JSONObject data, String corpid) throws XbbException;
}
